<template>
  <div>
    <defaultForm :formData="defaultFormData">
      <!-- 申报奖项类别 -->
      <div slot="formRight_0" class="padL20 flex1">
        <a-radio-group :options="radioData" />
        <slot name="formRightItem_0"></slot>
      </div>
      <!-- 录制单位 -->
      <div slot="formRight_1" class="flexLeft flex1">
        <input :disabled="$store.state.iptDis" type="text" class="flex1" />
        <div class="flexLeft flex1">
          <div class="awardName borL borR">电视台</div>
          <div class="flexLeft">
            <input :disabled="$store.state.iptDis" type="text" class="flex1" />
            <div>部</div>
          </div>
        </div>
      </div>
      <div slot="formHead_2" class="flex1">
        <slot name="formHead"></slot>
      </div>
      <div slot="formRight_2" class="flex1">
        <slot name="formMain"></slot>
      </div>
      <!-- 主要完成人员 -->
      <input type="text" slot="formRight_3" class="flex1" />
      <!-- 申报单位 -->
      <div class="flex1" slot="formRight_4">
        <div class="manager flex1 flexBet">
          <div>台分管主管签字(签字):</div>
          <div>
            <div>(台章)</div>
            <div class="marT10">
              <span class="marR10">年</span>
              <span class="marR10">月</span>
              <span>日</span>
            </div>
          </div>
        </div>
      </div>
      <!-- 初审意见 -->
      <div class="flex1" slot="formRight_5">
        <div class="flexRight chapter">
          <div>(章)</div>
          <div class="marT10">
            <span class="marR10">年</span>
            <span class="marR10">月</span>
            <span>日</span>
          </div>
        </div>
      </div>
      <!-- 备注 -->
      <input type="text" slot="formRight_6" class="flex1" />
    </defaultForm>
  </div>
</template>

<script>
import defaultForm from "@/components/form/formDefaultItem.vue";
import { defaultData } from "@/assets/js/golden.js";
export default {
  props: {
    radioData: {
      type: Array,
      default: () => [
        { label: "新闻", value: 1 },
        { label: "专题", value: 2 },
        { label: "综合文体", value: 3 },
      ],
    },
    defaultFormData: {
      type: Array,
      default: () => defaultData,
    },
  },
  components: {
    defaultForm,
  },
  data() {
    return {};
  },
};
</script>

<style>
.manager {
  padding: 10px;
  box-sizing: border-box;
  border-left: 1px solid #b8babd;
  margin-left: -1px;
}
.chapter {
  flex-direction: column;
  align-items: flex-end;
  margin-right: 10px;
}
</style>